home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kompuutteri Kaikille K-CD 2008 #18
/
KCD200818.ISO
/
Euro Truck
/
ets_1_00_setup.exe
/
base.scs
/
font
/
odo_number.font
< prev
next >
Wrap
Text File
|
2008-07-25
|
3KB
|
69 lines
# SCS Font
# Max width: 12
# Max advance: 13
# Typical height 'above the line': 0 (height of letter 'M')
# Max pixels 'above the line': 14
# Max pixels 'below the line': 0
vert_span:14 # max difference between lowest and highest pixel in any two glyphs
line_spacing:2 # suggested number of pixels to put between lines
image:/font/odo_number.mat
# P_x: starting column of glyph rectangle in the font bitmap
# P_y: starting row of glyph rectangle in the font bitmap
# W: width of the glyph rectangle
# H: height of the glyph rectangle
# L: left offset of the rectangle when placing it relative to current 'pen position'
# (negative value can be thought of as 'hard' kerning, but is used at the beginning of line too!)
# T: top offset of the rectangle when placing it relative to current 'pen position'
# (the 'pen' is expected to be at the level of topmost pixel of highest glyph)
# A: advance of the 'pen' for rendering of the following glyph
#NUM, P_x, P_y, W, H, L, T, A # character / glyph name
$032, 60, 16, 0, 0, 0, 14, 7 # ' ' / 'SPACE'
$048, 1, 1, 12, 14, 1, 0, 13 # '0' / 'DIGIT ZERO'
$049, 14, 1, 7, 14, 3, 0, 13 # '1' / 'DIGIT ONE'
$050, 22, 1, 10, 14, 1, 0, 13 # '2' / 'DIGIT TWO'
$051, 33, 1, 11, 14, 1, 0, 12 # '3' / 'DIGIT THREE'
$052, 45, 1, 11, 14, 1, 0, 13 # '4' / 'DIGIT FOUR'
$053, 1, 16, 10, 14, 1, 0, 12 # '5' / 'DIGIT FIVE'
$054, 12, 16, 11, 14, 1, 0, 13 # '6' / 'DIGIT SIX'
$055, 24, 16, 10, 14, 1, 0, 13 # '7' / 'DIGIT SEVEN'
$056, 35, 16, 12, 14, 1, 0, 13 # '8' / 'DIGIT EIGHT'
$057, 48, 16, 11, 14, 1, 0, 13 # '9' / 'DIGIT NINE'
# kerning...
kern: $048, $049, -1 # '0' -> '1'
kern: $048, $055, -1 # '0' -> '7'
kern: $049, $048, -1 # '1' -> '0'
kern: $049, $049, -2 # '1' -> '1'
kern: $049, $050, -1 # '1' -> '2'
kern: $049, $051, -1 # '1' -> '3'
kern: $049, $052, -1 # '1' -> '4'
kern: $049, $053, -1 # '1' -> '5'
kern: $049, $054, -1 # '1' -> '6'
kern: $049, $055, -2 # '1' -> '7'
kern: $049, $056, -1 # '1' -> '8'
kern: $049, $057, -1 # '1' -> '9'
kern: $050, $049, -1 # '2' -> '1'
kern: $050, $055, -1 # '2' -> '7'
kern: $051, $049, -1 # '3' -> '1'
kern: $051, $055, -1 # '3' -> '7'
kern: $052, $049, -2 # '4' -> '1'
kern: $052, $055, -1 # '4' -> '7'
kern: $053, $049, -1 # '5' -> '1'
kern: $053, $055, -1 # '5' -> '7'
kern: $054, $049, -1 # '6' -> '1'
kern: $054, $055, -1 # '6' -> '7'
kern: $055, $049, -1 # '7' -> '1'
kern: $055, $052, -2 # '7' -> '4'
kern: $055, $054, -1 # '7' -> '6'
kern: $055, $055, -1 # '7' -> '7'
kern: $056, $049, -1 # '8' -> '1'
kern: $056, $055, -1 # '8' -> '7'
kern: $057, $049, -1 # '9' -> '1'
kern: $057, $055, -1 # '9' -> '7'